package com.cityfood.mapper;

import com.cityfood.pojo.CfCart;
import com.cityfood.pojo.CfCartExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CfCartMapper {
    int countByExample(CfCartExample example);

    int deleteByExample(CfCartExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CfCart record);

    int insertSelective(CfCart record);

    List<CfCart> selectByExample(CfCartExample example);

    CfCart selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CfCart record, @Param("example") CfCartExample example);

    int updateByExample(@Param("record") CfCart record, @Param("example") CfCartExample example);

    int updateByPrimaryKeySelective(CfCart record);

    int updateByPrimaryKey(CfCart record);
}